﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICeFramework.DataManagement.Collections;
using ICeFramework.DataManagement.Enums;

namespace ICeFramework.DataManagement.Interfaces
{
    public interface IForeignKey
    {
        ForeignKeyColumnList Columns { get; set; }
        DateTime DateLastModified { get; }
        SqlForeignKeyAction DeleteAction { get; set; }
        int ID { get; }
        bool IsChecked { get; set; }
        bool IsEnabled { get; set; }
        bool IsSystemNamed { get; }
        string Name { get; set; }
        bool NotForReplication { get; }
        ITable Parent { get; set; }
        string ReferencedKey { get; }
        string ReferencedTable { get; set; }
        string ReferencedTableSchema { get; set; }
        string ScriptReferencedTable { get; set; }
        string ScriptReferencedTableSchema { get; set; }
        SqlObjectState State { get; }
        SqlForeignKeyAction UpdateAction { get; set; }
    }
}
